package net.esj.basic.core.business.provider;

import java.io.Serializable;

import net.esj.basic.core.engine.provider.IProvider;
import net.esj.basic.pojo.MObject;

/**
 * MObject通用接口，任何业务系统请通过该接口获得对象
 * @author Administrator
 *
 */
public abstract interface MObjectProvider<T extends MObject> extends IProvider {

	T get(Serializable id,String type);
	
	T get(MObject obj);
	
	String getMType();
}
